<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: OpenCL support</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">OpenCL support<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d45/classcv_1_1ocl_1_1Context.html">cv::ocl::Context</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d9f/classcv_1_1ocl_1_1Device.html">cv::ocl::Device</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d4e/classcv_1_1ocl_1_1Image2D.html">cv::ocl::Image2D</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d4c/classcv_1_1ocl_1_1Kernel.html">cv::ocl::Kernel</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d17/classcv_1_1ocl_1_1KernelArg.html">cv::ocl::KernelArg</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d83/classcv_1_1ocl_1_1OpenCLExecutionContext.html">cv::ocl::OpenCLExecutionContext</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dda/classcv_1_1ocl_1_1OpenCLExecutionContextScope.html">cv::ocl::OpenCLExecutionContextScope</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d87/classcv_1_1ocl_1_1Platform.html">cv::ocl::Platform</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d94/classcv_1_1ocl_1_1PlatformInfo.html">cv::ocl::PlatformInfo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d88/classcv_1_1ocl_1_1Program.html">cv::ocl::Program</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/de3/classcv_1_1ocl_1_1ProgramSource.html">cv::ocl::ProgramSource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/dc0/classcv_1_1ocl_1_1Queue.html">cv::ocl::Queue</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d4a/classcv_1_1ocl_1_1Timer.html">cv::ocl::Timer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gae601ac868b72015b583ccbbdd0dec587"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gae601ac868b72015b583ccbbdd0dec587">cv::ocl::OclVectorStrategy</a> { <br/>
  <a class="el" href="../../dc/d83/group__core__opencl.html#ggae601ac868b72015b583ccbbdd0dec587af4f3dacb8b06545e8e10cdc64d353ed6">cv::ocl::OCL_VECTOR_OWN</a> = 0, 
<br/>
  <a class="el" href="../../dc/d83/group__core__opencl.html#ggae601ac868b72015b583ccbbdd0dec587a3340448a36ad842065ad35c3586a754e">cv::ocl::OCL_VECTOR_MAX</a> = 1, 
<br/>
  <a class="el" href="../../dc/d83/group__core__opencl.html#ggae601ac868b72015b583ccbbdd0dec587a566f2a652ca8f26eabf5f6fc50faf59e">cv::ocl::OCL_VECTOR_DEFAULT</a> = OCL_VECTOR_OWN
<br/>
 }</td></tr>
<tr class="separator:gae601ac868b72015b583ccbbdd0dec587"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaf83af36be2097fd43e3eba5c8f3025b1"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gaf83af36be2097fd43e3eba5c8f3025b1">cv::ocl::attachContext</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;platformName, void *platformID, void *context, void *deviceID)</td></tr>
<tr class="memdesc:gaf83af36be2097fd43e3eba5c8f3025b1"><td class="mdescLeft"> </td><td class="mdescRight">Attaches OpenCL context to OpenCV.  <a href="../../dc/d83/group__core__opencl.html#gaf83af36be2097fd43e3eba5c8f3025b1">More...</a><br/></td></tr>
<tr class="separator:gaf83af36be2097fd43e3eba5c8f3025b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga95fc5d853c45a6b1db1d425d831f7d2f"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga95fc5d853c45a6b1db1d425d831f7d2f">cv::ocl::buildOptionsAddMatrixDescription</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;buildOptions, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> _m)</td></tr>
<tr class="separator:ga95fc5d853c45a6b1db1d425d831f7d2f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga293c0b13a39f10465e3ea67a018d6779"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga293c0b13a39f10465e3ea67a018d6779">cv::ocl::checkOptimalVectorWidth</a> (const int *vectorWidths, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src1, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src2=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src3=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src4=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src5=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src6=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src7=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src8=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src9=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d83/group__core__opencl.html#gae601ac868b72015b583ccbbdd0dec587">OclVectorStrategy</a> strat=<a class="el" href="../../dc/d83/group__core__opencl.html#ggae601ac868b72015b583ccbbdd0dec587a566f2a652ca8f26eabf5f6fc50faf59e">OCL_VECTOR_DEFAULT</a>)</td></tr>
<tr class="separator:ga293c0b13a39f10465e3ea67a018d6779"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf7698360b08aa452c2692296ce55bccd"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gaf7698360b08aa452c2692296ce55bccd">cv::ocl::convertFromBuffer</a> (void *cl_mem_buffer, size_t step, int rows, int cols, int type, <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &amp;dst)</td></tr>
<tr class="memdesc:gaf7698360b08aa452c2692296ce55bccd"><td class="mdescLeft"> </td><td class="mdescRight">Convert OpenCL buffer to <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a>.  <a href="../../dc/d83/group__core__opencl.html#gaf7698360b08aa452c2692296ce55bccd">More...</a><br/></td></tr>
<tr class="separator:gaf7698360b08aa452c2692296ce55bccd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gada97cc08c31e416b957e23b480334b6c"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gada97cc08c31e416b957e23b480334b6c">cv::ocl::convertFromImage</a> (void *cl_mem_image, <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &amp;dst)</td></tr>
<tr class="memdesc:gada97cc08c31e416b957e23b480334b6c"><td class="mdescLeft"> </td><td class="mdescRight">Convert OpenCL image2d_t to <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a>.  <a href="../../dc/d83/group__core__opencl.html#gada97cc08c31e416b957e23b480334b6c">More...</a><br/></td></tr>
<tr class="separator:gada97cc08c31e416b957e23b480334b6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6af5cc5165cd65ae41925d6d95f0f7ae"><td align="right" class="memItemLeft" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga6af5cc5165cd65ae41925d6d95f0f7ae">cv::ocl::convertTypeStr</a> (int sdepth, int ddepth, int cn, char *buf)</td></tr>
<tr class="separator:ga6af5cc5165cd65ae41925d6d95f0f7ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabfca32247f267c662b3bff6587d14b40"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gabfca32247f267c662b3bff6587d14b40">cv::ocl::finish</a> ()</td></tr>
<tr class="separator:gabfca32247f267c662b3bff6587d14b40"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2de08873daa452bb88f17d5054aa3aae"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../df/d4c/classcv_1_1MatAllocator.html">MatAllocator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga2de08873daa452bb88f17d5054aa3aae">cv::ocl::getOpenCLAllocator</a> ()</td></tr>
<tr class="separator:ga2de08873daa452bb88f17d5054aa3aae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga2ca083fe9736d656ee89ab1320745c58"><td align="right" class="memItemLeft" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga2ca083fe9736d656ee89ab1320745c58">cv::ocl::getOpenCLErrorString</a> (int errorCode)</td></tr>
<tr class="separator:ga2ca083fe9736d656ee89ab1320745c58"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae98550085d4a41df7a1daff093fe775c"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gae98550085d4a41df7a1daff093fe775c">cv::ocl::getPlatfomsInfo</a> (std::vector&lt; <a class="el" href="../../d6/d94/classcv_1_1ocl_1_1PlatformInfo.html">PlatformInfo</a> &gt; &amp;platform_info)</td></tr>
<tr class="separator:gae98550085d4a41df7a1daff093fe775c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad2e486ab8104a3b197001e27d54e2a95"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gad2e486ab8104a3b197001e27d54e2a95">cv::ocl::haveAmdBlas</a> ()</td></tr>
<tr class="separator:gad2e486ab8104a3b197001e27d54e2a95"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga593387b5285a57ea03350b363c74c6cf"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga593387b5285a57ea03350b363c74c6cf">cv::ocl::haveAmdFft</a> ()</td></tr>
<tr class="separator:ga593387b5285a57ea03350b363c74c6cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf8716694664cb127e7928c335b97d217"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gaf8716694664cb127e7928c335b97d217">cv::ocl::haveOpenCL</a> ()</td></tr>
<tr class="separator:gaf8716694664cb127e7928c335b97d217"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0744f1db6ed2ec8f8aa79a43449a4855"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga0744f1db6ed2ec8f8aa79a43449a4855">cv::ocl::haveSVM</a> ()</td></tr>
<tr class="separator:ga0744f1db6ed2ec8f8aa79a43449a4855"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga497674e2f118f367b2fa4decbcdecb15"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga497674e2f118f367b2fa4decbcdecb15">cv::ocl::initializeContextFromHandle</a> (<a class="el" href="../../d1/d45/classcv_1_1ocl_1_1Context.html">Context</a> &amp;ctx, void *platform, void *context, void *device)</td></tr>
<tr class="separator:ga497674e2f118f367b2fa4decbcdecb15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gafb2b78806f036b57609e26b8237fa3d9"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gafb2b78806f036b57609e26b8237fa3d9">cv::ocl::kernelToStr</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> _kernel, int ddepth=-1, const char *name=NULL)</td></tr>
<tr class="separator:gafb2b78806f036b57609e26b8237fa3d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3a8b3c8a8991e15ac4e4aa2a007bb2ea"><td align="right" class="memItemLeft" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga3a8b3c8a8991e15ac4e4aa2a007bb2ea">cv::ocl::memopTypeToStr</a> (int t)</td></tr>
<tr class="separator:ga3a8b3c8a8991e15ac4e4aa2a007bb2ea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1b16507915166d63529ad8126e465c1a"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga1b16507915166d63529ad8126e465c1a">cv::ocl::predictOptimalVectorWidth</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src1, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src2=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src3=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src4=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src5=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src6=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src7=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src8=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src9=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d83/group__core__opencl.html#gae601ac868b72015b583ccbbdd0dec587">OclVectorStrategy</a> strat=<a class="el" href="../../dc/d83/group__core__opencl.html#ggae601ac868b72015b583ccbbdd0dec587a566f2a652ca8f26eabf5f6fc50faf59e">OCL_VECTOR_DEFAULT</a>)</td></tr>
<tr class="separator:ga1b16507915166d63529ad8126e465c1a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga8b96cd547eac1e787cf50e22820bc4b9"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga8b96cd547eac1e787cf50e22820bc4b9">cv::ocl::predictOptimalVectorWidthMax</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src1, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src2=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src3=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src4=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src5=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src6=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src7=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src8=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src9=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>())</td></tr>
<tr class="separator:ga8b96cd547eac1e787cf50e22820bc4b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab747fa4efd88d3188f4ebcbc8a639c1e"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gab747fa4efd88d3188f4ebcbc8a639c1e">cv::ocl::setUseOpenCL</a> (bool flag)</td></tr>
<tr class="separator:gab747fa4efd88d3188f4ebcbc8a639c1e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga332498ad6301e733151ff4e61e0d755c"><td align="right" class="memItemLeft" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga332498ad6301e733151ff4e61e0d755c">cv::ocl::typeToStr</a> (int t)</td></tr>
<tr class="separator:ga332498ad6301e733151ff4e61e0d755c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gadb3b41d4552e9db7887855e3a1b2af37"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#gadb3b41d4552e9db7887855e3a1b2af37">cv::ocl::useOpenCL</a> ()</td></tr>
<tr class="separator:gadb3b41d4552e9db7887855e3a1b2af37"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga87fc1246a42a1f4c46eeea3ad5ce1790"><td align="right" class="memItemLeft" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d83/group__core__opencl.html#ga87fc1246a42a1f4c46eeea3ad5ce1790">cv::ocl::vecopTypeToStr</a> (int t)</td></tr>
<tr class="separator:ga87fc1246a42a1f4c46eeea3ad5ce1790"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gae601ac868b72015b583ccbbdd0dec587"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae601ac868b72015b583ccbbdd0dec587">◆ </a></span>OclVectorStrategy</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../dc/d83/group__core__opencl.html#gae601ac868b72015b583ccbbdd0dec587">cv::ocl::OclVectorStrategy</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggae601ac868b72015b583ccbbdd0dec587af4f3dacb8b06545e8e10cdc64d353ed6"></a>OCL_VECTOR_OWN <div class="python_language">Python: cv.ocl.OCL_VECTOR_OWN</div></td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ggae601ac868b72015b583ccbbdd0dec587a3340448a36ad842065ad35c3586a754e"></a>OCL_VECTOR_MAX <div class="python_language">Python: cv.ocl.OCL_VECTOR_MAX</div></td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ggae601ac868b72015b583ccbbdd0dec587a566f2a652ca8f26eabf5f6fc50faf59e"></a>OCL_VECTOR_DEFAULT <div class="python_language">Python: cv.ocl.OCL_VECTOR_DEFAULT</div></td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gaf83af36be2097fd43e3eba5c8f3025b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf83af36be2097fd43e3eba5c8f3025b1">◆ </a></span>attachContext()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::ocl::attachContext </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>platformName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void * </td>
          <td class="paramname"><em>platformID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void * </td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void * </td>
          <td class="paramname"><em>deviceID</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
<p>Attaches OpenCL context to OpenCV. </p>
<dl class="section note"><dt>Note</dt><dd>OpenCV will check if available OpenCL platform has platformName name, then assign context to OpenCV and call <code>clRetainContext</code> function. The deviceID device will be used as target device and new command queue will be created. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">platformName</td><td>name of OpenCL platform to attach, this string is used to check if platform is available to OpenCV at runtime </td></tr>
    <tr><td class="paramname">platformID</td><td>ID of platform attached context was created for </td></tr>
    <tr><td class="paramname">context</td><td>OpenCL context to be attached to OpenCV </td></tr>
    <tr><td class="paramname">deviceID</td><td>ID of device, must be created from attached context </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="ga95fc5d853c45a6b1db1d425d831f7d2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga95fc5d853c45a6b1db1d425d831f7d2f">◆ </a></span>buildOptionsAddMatrixDescription()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::ocl::buildOptionsAddMatrixDescription </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>buildOptions</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp; </td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>_m</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga293c0b13a39f10465e3ea67a018d6779"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga293c0b13a39f10465e3ea67a018d6779">◆ </a></span>checkOptimalVectorWidth()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::ocl::checkOptimalVectorWidth </td>
          <td>(</td>
          <td class="paramtype">const int * </td>
          <td class="paramname"><em>vectorWidths</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src2</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src3</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src4</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src5</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src6</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src7</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src8</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src9</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d83/group__core__opencl.html#gae601ac868b72015b583ccbbdd0dec587">OclVectorStrategy</a> </td>
          <td class="paramname"><em>strat</em> = <code><a class="el" href="../../dc/d83/group__core__opencl.html#ggae601ac868b72015b583ccbbdd0dec587a566f2a652ca8f26eabf5f6fc50faf59e">OCL_VECTOR_DEFAULT</a></code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="gaf7698360b08aa452c2692296ce55bccd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf7698360b08aa452c2692296ce55bccd">◆ </a></span>convertFromBuffer()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::ocl::convertFromBuffer </td>
          <td>(</td>
          <td class="paramtype">void * </td>
          <td class="paramname"><em>cl_mem_buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t </td>
          <td class="paramname"><em>step</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>cols</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &amp; </td>
          <td class="paramname"><em>dst</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
<p>Convert OpenCL buffer to <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a>. </p>
<dl class="section note"><dt>Note</dt><dd>OpenCL buffer (cl_mem_buffer) should contain 2D image data, compatible with OpenCV. Memory content is not copied from <code>clBuffer</code> to <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a>. Instead, buffer handle assigned to <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> and <code>clRetainMemObject</code> is called. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cl_mem_buffer</td><td>source clBuffer handle </td></tr>
    <tr><td class="paramname">step</td><td>num of bytes in single row </td></tr>
    <tr><td class="paramname">rows</td><td>number of rows </td></tr>
    <tr><td class="paramname">cols</td><td>number of cols </td></tr>
    <tr><td class="paramname">type</td><td>OpenCV type of image </td></tr>
    <tr><td class="paramname">dst</td><td>destination <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="gada97cc08c31e416b957e23b480334b6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada97cc08c31e416b957e23b480334b6c">◆ </a></span>convertFromImage()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::ocl::convertFromImage </td>
          <td>(</td>
          <td class="paramtype">void * </td>
          <td class="paramname"><em>cl_mem_image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &amp; </td>
          <td class="paramname"><em>dst</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
<p>Convert OpenCL image2d_t to <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a>. </p>
<dl class="section note"><dt>Note</dt><dd>OpenCL <code>image2d_t</code> (cl_mem_image), should be compatible with OpenCV <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> formats. Memory content is copied from image to <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> with <code>clEnqueueCopyImageToBuffer</code> function. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cl_mem_image</td><td>source image2d_t handle </td></tr>
    <tr><td class="paramname">dst</td><td>destination <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="ga6af5cc5165cd65ae41925d6d95f0f7ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6af5cc5165cd65ae41925d6d95f0f7ae">◆ </a></span>convertTypeStr()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* cv::ocl::convertTypeStr </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>sdepth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>ddepth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>cn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char * </td>
          <td class="paramname"><em>buf</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="gabfca32247f267c662b3bff6587d14b40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabfca32247f267c662b3bff6587d14b40">◆ </a></span>finish()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::ocl::finish </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ocl.finish(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga2de08873daa452bb88f17d5054aa3aae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2de08873daa452bb88f17d5054aa3aae">◆ </a></span>getOpenCLAllocator()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/d4c/classcv_1_1MatAllocator.html">MatAllocator</a>* cv::ocl::getOpenCLAllocator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga2ca083fe9736d656ee89ab1320745c58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2ca083fe9736d656ee89ab1320745c58">◆ </a></span>getOpenCLErrorString()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* cv::ocl::getOpenCLErrorString </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>errorCode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="gae98550085d4a41df7a1daff093fe775c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae98550085d4a41df7a1daff093fe775c">◆ </a></span>getPlatfomsInfo()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::ocl::getPlatfomsInfo </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d6/d94/classcv_1_1ocl_1_1PlatformInfo.html">PlatformInfo</a> &gt; &amp; </td>
          <td class="paramname"><em>platform_info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="gad2e486ab8104a3b197001e27d54e2a95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad2e486ab8104a3b197001e27d54e2a95">◆ </a></span>haveAmdBlas()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::ocl::haveAmdBlas </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ocl.haveAmdBlas(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga593387b5285a57ea03350b363c74c6cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga593387b5285a57ea03350b363c74c6cf">◆ </a></span>haveAmdFft()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::ocl::haveAmdFft </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ocl.haveAmdFft(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="gaf8716694664cb127e7928c335b97d217"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf8716694664cb127e7928c335b97d217">◆ </a></span>haveOpenCL()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::ocl::haveOpenCL </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ocl.haveOpenCL(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga0744f1db6ed2ec8f8aa79a43449a4855"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0744f1db6ed2ec8f8aa79a43449a4855">◆ </a></span>haveSVM()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::ocl::haveSVM </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga497674e2f118f367b2fa4decbcdecb15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga497674e2f118f367b2fa4decbcdecb15">◆ </a></span>initializeContextFromHandle()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::ocl::initializeContextFromHandle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/d45/classcv_1_1ocl_1_1Context.html">Context</a> &amp; </td>
          <td class="paramname"><em>ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void * </td>
          <td class="paramname"><em>platform</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void * </td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void * </td>
          <td class="paramname"><em>device</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
<dl class="deprecated"><dt><b><a class="el" href="../../da/d58/deprecated.html#_deprecated000028">Deprecated:</a></b></dt><dd></dd></dl>
</div>
</div>
<a id="gafb2b78806f036b57609e26b8237fa3d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafb2b78806f036b57609e26b8237fa3d9">◆ </a></span>kernelToStr()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> cv::ocl::kernelToStr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>_kernel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>ddepth</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char * </td>
          <td class="paramname"><em>name</em> = <code>NULL</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga3a8b3c8a8991e15ac4e4aa2a007bb2ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3a8b3c8a8991e15ac4e4aa2a007bb2ea">◆ </a></span>memopTypeToStr()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* cv::ocl::memopTypeToStr </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga1b16507915166d63529ad8126e465c1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1b16507915166d63529ad8126e465c1a">◆ </a></span>predictOptimalVectorWidth()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::ocl::predictOptimalVectorWidth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src2</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src3</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src4</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src5</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src6</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src7</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src8</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src9</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d83/group__core__opencl.html#gae601ac868b72015b583ccbbdd0dec587">OclVectorStrategy</a> </td>
          <td class="paramname"><em>strat</em> = <code><a class="el" href="../../dc/d83/group__core__opencl.html#ggae601ac868b72015b583ccbbdd0dec587a566f2a652ca8f26eabf5f6fc50faf59e">OCL_VECTOR_DEFAULT</a></code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="ga8b96cd547eac1e787cf50e22820bc4b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b96cd547eac1e787cf50e22820bc4b9">◆ </a></span>predictOptimalVectorWidthMax()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::ocl::predictOptimalVectorWidthMax </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src2</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src3</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src4</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src5</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src6</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src7</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src8</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>src9</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="gab747fa4efd88d3188f4ebcbc8a639c1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab747fa4efd88d3188f4ebcbc8a639c1e">◆ </a></span>setUseOpenCL()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::ocl::setUseOpenCL </td>
          <td>(</td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>flag</em></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ocl.setUseOpenCL(</td><td class="paramname">flag</td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d8/d61/samples_2tapi_2hog_8cpp-example.html#a45">samples/tapi/hog.cpp</a>, and <a class="el" href="../../de/dc0/samples_2tapi_2squares_8cpp-example.html#a38">samples/tapi/squares.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="ga332498ad6301e733151ff4e61e0d755c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga332498ad6301e733151ff4e61e0d755c">◆ </a></span>typeToStr()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* cv::ocl::typeToStr </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
<a id="gadb3b41d4552e9db7887855e3a1b2af37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadb3b41d4552e9db7887855e3a1b2af37">◆ </a></span>useOpenCL()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::ocl::useOpenCL </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ocl.useOpenCL(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d6/d39/samples_2dnn_2colorization_8cpp-example.html#a2">samples/dnn/colorization.cpp</a>, and <a class="el" href="../../d8/d61/samples_2tapi_2hog_8cpp-example.html#a34">samples/tapi/hog.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="ga87fc1246a42a1f4c46eeea3ad5ce1790"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga87fc1246a42a1f4c46eeea3ad5ce1790">◆ </a></span>vecopTypeToStr()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* cv::ocl::vecopTypeToStr </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../da/d74/ocl_8hpp.html">opencv2/core/ocl.hpp</a>&gt;</code></p>
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:40 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
